<?php
/**
 * Created by PhpStorm.
 * User: ZCY
 * Date: 2018/12/29
 * Time: 10:41
 */
namespace common\event;



class HandleEvent
{
    public function test2($event)
    {
        echo 'i am handle event2'.$event->data.PHP_EOL;
    }

    public function test3($event)
    {
        echo 'i am handle event3'.$event->data.PHP_EOL;
        echo 'i have a title '.$event->title.PHP_EOL;
    }

    public function test4($event)
    {
        echo 'i am handle event4'.$event->data.PHP_EOL;
        echo 'i have a title '.$event->title.PHP_EOL;
    }

}


